package com.canal.collection.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * @author Administrator
 * @decription 短信接口配置
 * @Date 2018-02-02 10:01
 */
@Configuration
@ConfigurationProperties(prefix = SmsProperties.MESSAGE_PREFIX)
public class SmsProperties {

    public static final String MESSAGE_PREFIX = "message";

    private String url;

    private String corpId;

    private String pwd;

    private String messagePrefix;

    private String messageSuffix;

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getCorpId() {
        return corpId;
    }

    public void setCorpId(String corpId) {
        this.corpId = corpId;
    }

    public String getPwd() {
        return pwd;
    }

    public void setPwd(String pwd) {
        this.pwd = pwd;
    }

    public String getMessagePrefix() {
        return messagePrefix;
    }

    public void setMessagePrefix(String messagePrefix) {
        this.messagePrefix = messagePrefix;
    }

    public String getMessageSuffix() {
        return messageSuffix;
    }

    public void setMessageSuffix(String messageSuffix) {
        this.messageSuffix = messageSuffix;
    }
}
